package org.vacuela.attendance;

import com.u2d.type.AbstractChoiceEO;
import com.u2d.type.atom.StringEO;
import com.u2d.model.ComplexType;
import javax.persistence.Entity;

@Entity
public class Branch extends AbstractChoiceEO {
	private final StringEO _code = new StringEO();

	private final StringEO _caption = new StringEO();
	public static String[] identities = { "code" };

	public Branch() {
	}

	public Branch(String code, String caption) {
		_code.setValue(code);
		_caption.setValue(caption);
	}

	public StringEO getCode() {
		return _code;
	}

	public StringEO getCaption() {
		return _caption;
	}
}